@import "common.css";
@import "normalize.css";
@import "custom-btn.css";


body{
    background: linear-gradient(45deg,#3a1c71,#d76d77,#ffaf7b);
}

.header{
    height: 66px;
    line-height: 66px;
        .logo{
            display: inline-block;
            width: 138px;
            height: 66px;
            margin-top: 18px;
            background: url(../imgs/logo-white.png) no-repeat;
            }
            .header-login{
                a{
                    color: #00bdff;
                }
            }
    
}

.content{
    height: 553px;
    margin-top: 38px;
    .reg-form{
        width: 420px;
        margin: 0 auto;
        h1{
            font-size: 38px;
            color: #4b4b4b;
            line-height: 58px;
            font-weight: normal;
        }
        h2{
            font-size: 26px;
            color: #4b4b4b;
            line-height: 48px;
            font-weight: normal;
        }
        .reg-desc-p{
            line-height: 32px;
            padding-left: 70px;
            border-radius: 3px;
            color: #fff;
            background: url(../imgs/reg-gift.png) no-repeat 42px 6px;
        }
        .reg-item{
            position: relative;
            .reg-input{
                width: 420px;
                height: 39px;
                line-height: 39px;
                font-size: 14px;
                padding-left: 15px;
                border-radius: 3px;
                border: 1px solid #c5c5c5;
                margin-bottom: 24px;
                color: #a3a3a3;
            }
            // 短信input框宽度
            .msg-input{
                width: 295px;
            }
            // 获取验证码按钮 老的
            // .reg-msgbtn{
            //     width: 125px;
            //     height: 39px;
            //     border: 1px solid #c5c5c5;
            //     background-color: #f3f5f8;
            //     border-left: 0;
            //     cursor: pointer;
            // }
            .custom-btn {
                width: 130px;
                height: 40px;
                color: #fff;
                border-radius: 5px;
                padding: 10px 25px;
                font-family: "Lato", sans-serif;
                font-weight: 500;
                background: transparent;
                cursor: pointer;
                transition: all 0.3s ease;
                position: relative;
                display: inline-block;
                box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
            }
            .btn-12 {
                position: absolute;
                right: 21px;
                top: -21px;
                border: none;
                box-shadow: none;
                width: 130px;
                height: 40px;
                line-height: 42px;
                -webkit-perspective: 230px;
                perspective: 230px;
                &:hover span:nth-child(1) {
                    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
                    -webkit-transform: rotateX(0deg);
                    -moz-transform: rotateX(0deg);
                    transform: rotateX(0deg);
                }
                &:hover span:nth-child(2) {
                    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
                    color: transparent;
                    -webkit-transform: rotateX(-90deg);
                    -moz-transform: rotateX(-90deg);
                    transform: rotateX(-90deg);
                }
                span {
                    background: rgb(0, 172, 238);
                    background: linear-gradient( 0deg, rgba(0, 172, 238, 1) 0%, rgba(2, 126, 251, 1) 100%);
                    display: block;
                    position: absolute;
                    width: 130px;
                    height: 40px;
                    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
                    border-radius: 0 5px 5px 0;
                    margin: 0;
                    text-align: center;
                    -webkit-box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    box-sizing: border-box;
                    -webkit-transition: all 0.3s;
                    transition: all 0.3s;
                    &:nth-child(1) {
                        box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
                        -webkit-transform: rotateX(90deg);
                        -moz-transform: rotateX(90deg);
                        transform: rotateX(90deg);
                        -webkit-transform-origin: 50% 50% -20px;
                        -moz-transform-origin: 50% 50% -20px;
                        transform-origin: 50% 50% -20px;
                    }
                    &:nth-child(2) {
                        -webkit-transform: rotateX(0deg);
                        -moz-transform: rotateX(0deg);
                        transform: rotateX(0deg);
                        -webkit-transform-origin: 50% 50% -20px;
                        -moz-transform-origin: 50% 50% -20px;
                        transform-origin: 50% 50% -20px;
                    }
                }
            }
            .error{
                display: none;
                position: absolute;
                left: 429px;
                top: 12px;
                color: #f15b5b;
                font-size: 12px;
                width: 50%;
                line-height: 20px;
                .error-icon{
                    width: 20px;
                    height: 20px;
                    background: url(../imgs/sprite2.png) no-repeat 0 -128px;
                    margin-top: 2px;
                }
            }
            .clear-img{
                display: none;
                position: absolute;
                right: 9px;
                top: 12px;
                cursor: pointer;
            }
            .code-img{
                right: 132px;
            }
            .clear-last-img{
                right: 28px;
            }
        }
        .agree{
            margin-bottom: 28px;
            .checked{
                vertical-align: middle;
            }
            .info{
                font-size: 12px;
                color: #a3a3a3;
                a{
                    color: #00bdff;
                }
            }
        }
        // 老按钮样式
        // .reg-btn{
        //     border: 0;
        //     width: 100%;
        //     height: 50px;
        //     font-size: 16px;
        //     cursor: pointer;
        // }
        // .user-reg-action-log{
        //     color: rgb(255, 255, 255);
        //     background-color: rgb(21, 189, 237);
        // }
            .reg-btn{
            width: 100%;
            height: 50px;
            font-size: 16px;
        }

        .custom-btn {
            height: 40px;
            color: #fff;
            border-radius: 5px;
            padding: 10px 25px;
            font-family: "Lato", sans-serif;
            font-weight: 500;
            background: transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            display: inline-block;
            box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
        }
        .btn-6 {
            background: rgb(247, 150, 192);
            background: linear-gradient(to left, #f0f2f0, #000c40);
            line-height: 42px;
            padding: 0;
            border: none;
            &:before,
            &:after {
                position: absolute;
                content: "";
                height: 0%;
                width: 1px;
                box-shadow: -1px -1px 20px 0px rgba(255, 255, 255, 1), -4px -4px 5px 0px rgba(255, 255, 255, 1), 7px 7px 20px 0px rgba(0, 0, 0, 0.4), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
            }
            &:before {
                right: 0;
                top: 0;
                transition: all 500ms ease;
            }
            &:after {
                left: 0;
                bottom: 0;
                transition: all 500ms ease;
            }
            &:hover {
                background: transparent;
                color: #76aef1;
                box-shadow: none;
                &:before {
                    transition: all 500ms ease;
                    height: 100%;
                }
                &:after {
                    transition: all 500ms ease;
                    height: 100%;
                }
            }
            span {
                position: relative;
                display: block;
                width: 100%;
                height: 100%;
                &:before,
                &:after{
                    position: absolute;
                    content: "";
                    box-shadow: -1px -1px 20px 0px rgba(255, 255, 255, 1), -4px -4px 5px 0px rgba(255, 255, 255, 1), 7px 7px 20px 0px rgba(0, 0, 0, 0.4), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
                
                }
                &:before {
                    left: 0;
                    top: 0;
                    width: 0%;
                    height: 0.5px;
                    transition: all 500ms ease;
                }
                &:after {
                    right: 0;
                    bottom: 0;
                    width: 0%;
                    height: 0.5px;
                    transition: all 500ms ease;
                }
                &:hover:before {
                    width: 100%;
                }
                &:hover:after {
                    width: 100%;
                }
            }
        }
    }
}